Is there a way to use a var in this call